package com.gxa.modules.mapper;

import com.gxa.modules.pojo.Sys_Role;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: zdk
 * Date: 2022/09/04 15:49
 * Description:
 * Version: V1.0
 */
@Repository
public interface CharacterMapper {
    //查找角色
    List<Sys_Role> findRole(Integer param01, Integer param02);

    Integer addRole(Sys_Role sys_role);

    List<Map> findRoleByUser(Integer id, Sys_Role sys_role);

    List<Sys_Role> findRoleByMessage(HashMap map);

    Integer updateStatus(HashMap map);
}
